package com.example.szh.mvp.di;

import com.example.szh.mvp.contract.FragmContract;
import com.example.szh.mvp.model.FragmModel;

import dagger.Module;
import dagger.Provides;

@Module
public class FragmModels {
    private FragmContract.IFragmView view;
    public FragmModels(FragmContract.IFragmView view){
        this.view=view;
    }
    @Provides
    public FragmContract.IFragmView providerView(){
        return view;
    }
    @Provides
    public FragmContract.IFragmModel providerModel(FragmModel model){
        return model;
    }
}
